﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Detail.aspx.cs" Inherits="LTHD_Web.Detail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="Styles/Style.css" rel="stylesheet" type="text/css" />
    <link href="Styles/detail.css" rel="stylesheet" type="text/css" />
    <link href="Styles/register.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery.min-1.4.2.js" type="text/javascript"></script>
    <script src="Scripts/jQueryUI.js" type="text/javascript"></script>
    <script src="Scripts/helpJquery.js" type="text/javascript"></script>
</head>
<body>
    <form id="frmDetail" runat="server">
    <div id="mypage">
        <div id="header_menu">
            <div id="header_menu_left">
                <ul>
                    <div id="Home">
                        <li><a onclick="movemaps('ĐH KHTN', 4, 10.762685, 106.682267, 1,0)" href="Default.aspx"
                            style="font-weight: bold; color: Orange;">Home</a></li>
                    </div>
                    <div id="News">
                        <li><a href="News.aspx">News </a></li>
                    </div>
                </ul>
            </div>
            <div id="login">
                <ul>
                    <% if (Request.Cookies["userName"] == null)
                       { %>
                    <li><a href="register.aspx">Register</a></li>
                    <li><a href="Login.aspx">Sign In</a></li>
                    <% }
                       else
                       {%>
                    <span id="logout">
                        <li><a href="Logout.aspx">Log out</a></li>
                        <li><span style="font-weight: bold; color: Green;">
                            <asp:Label ID="lb_taikhoan" runat="server" Text="Label"></asp:Label></span></li>
                    </span>
                    <% } %>
                </ul>
            </div>
        </div>
        <div id="detail">
            <div id="tenDiaDiem" class="bar">
                <asp:Label ID="lbTenDiaDiemTitle" runat="server" Text=""></asp:Label>
            </div>
            <div id="info" style="width: 100%;" align="left">
                <h4>
                </h4>
                <ul>
                    <li>
                        <h3 style="color: Blue;">
                            Thử tài hiểu biết của bạn</h3>
                        <p>
                            <table id="tbCauHoi" width="800px" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td colspan="2">
                                        <asp:Label ID="lbCauHoi" runat="server"></asp:Label>
                                        <br />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" height="10px">
                                    </td>
                                </tr>
                                <tr align="left">
                                    <td width="400px">
                                        <asp:RadioButton ID="rbA" runat="server" GroupName="gCauHoi" />
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rbB" runat="server" GroupName="gCauHoi" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" height="10px">
                                    </td>
                                </tr>
                                <tr align="left">
                                    <td width="400px">
                                        <asp:RadioButton ID="rbC" runat="server" GroupName="gCauHoi" />
                                    </td>
                                    <td>
                                        <asp:RadioButton ID="rbD" runat="server" GroupName="gCauHoi" />
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" height="10px">
                                    </td>
                                </tr>
                                <tr align="left">
                                    <td width="400px">
                                        <asp:RadioButton ID="rbE" runat="server" GroupName="gCauHoi" />
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" height="10px">
                                    </td>
                                </tr>
                                <tr align="center">
                                    <td colspan="2">
                                        <asp:Button ID="btnChon" CssClass="button" runat="server" Text="Trả lời" OnClick="btnChon_Click" />
                                    </td>
                                </tr>
                            </table>
                        </p>
                    </li>
                    <li><h4 style="color: Blue;">Thông tin địa điểm</h4>
                        <p>
                            <table id="tbInfo" width="800px" cellpadding="0" cellspacing="0">
                                <tr align="left">
                                    <td width="400px">
                                        <asp:Label ID="Label1" runat="server" Text="Tên địa điểm :"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lbTenDiaDiem" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr align="left">
                                    <td width="400px">
                                        <asp:Label ID="Label2" runat="server" Text="Địa chỉ :"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lbDiaChi" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr align="left">
                                    <td colspan="2" height="20px">
                                    </td>
                                </tr>
                                <tr align="left">
                                    <td colspan="2">
                                        <asp:Label ID="lbChiTiet" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </p>
                    </li>
                    <li><a href="#">Bình luận về địa điểm</a>
                        <p>
                            Ở đây là div ẩn khi nhấn link thì lấy dữ liệu hiện lên</p>
                    </li>
                </ul>
            </div>
            <div id="comment">
                <div id="fb-root">
                </div>
                <script>                    (function (d, s, id) {
                        var js, fjs = d.getElementsByTagName(s)[0];
                        if (d.getElementById(id)) return;
                        js = d.createElement(s); js.id = id;
                        js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=324333744265885";
                        fjs.parentNode.insertBefore(js, fjs);
                    } (document, 'script', 'facebook-jssdk'));
                </script>
                <div class="fb-like" data-href="http://localhost/Detail.aspx" data-send="true" data-width="450"
                    data-show-faces="true">
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
